package com.emflant.common;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

import com.emflant.irr.CashFlowDTO;

public class EntList {

	private List<CashFlowDTO> list;
	
	public EntList(){
		list = new ArrayList<CashFlowDTO>();
	}
	
	public boolean add(CashFlowDTO cashFlowTable){
		return list.add(cashFlowTable);
	}
	
	public CashFlowDTO get(int index){
		return list.get(index);
	}
	
	public Iterator<CashFlowDTO> iterator(){
		return list.iterator();
	}
	
	public int size(){
		return list.size();
	}
	
}
